package com.example.script.mapper;

import com.example.script.model.ChooseScript;
import com.example.script.model.ChooseScriptExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ChooseScriptMapper {
    long countByExample(ChooseScriptExample example);

    int deleteByExample(ChooseScriptExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ChooseScript record);

    int insertSelective(ChooseScript record);

    List<ChooseScript> selectByExample(ChooseScriptExample example);

    ChooseScript selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ChooseScript record, @Param("example") ChooseScriptExample example);

    int updateByExample(@Param("record") ChooseScript record, @Param("example") ChooseScriptExample example);

    int updateByPrimaryKeySelective(ChooseScript record);

    int updateByPrimaryKey(ChooseScript record);
}